import Request from '@/utils/request/request-util';

/**
 * 煤场基础层高代码-API接口
 *
 * @author 张朋飞
 * @date 2024/09/13 21:44
 */
export class WmMdLayerApi {

  /**
   * 获取分页列表
   *
   * @author 张朋飞
   * @date 2024/09/13 21:44
   */
  static findPage(params) {
    return Request.getAndLoadData('/wmMdLayer/page', params);
  }

  /**
   * 添加煤场基础层高代码
   *
   * @author 张朋飞
   * @date 2024/09/13 21:44
   */
  static add(params) {
    return Request.post('/wmMdLayer/add', params);
  }

  /**
   * 编辑煤场基础层高代码
   *
   * @author 张朋飞
   * @date 2024/09/13 21:44
   */
  static edit(params) {
    return Request.post('/wmMdLayer/edit', params);
  }

  /**
   * 删除单个煤场基础层高代码
   *
   * @author 张朋飞
   * @date 2024/09/13 21:44
   */
  static delete(params) {
    return Request.post('/wmMdLayer/delete', params);
  }

  /**
   * 删除批量煤场基础层高代码
   *
   * @author 张朋飞
   * @date 2024/09/13 21:44
   */
  static batchDelete(params) {
    return Request.post('/wmMdLayer/batchDelete', params);
  }

  /**
   * 煤场基础层高代码详情
   *
   * @author 张朋飞
   * @date 2024/09/13 21:44
   */
  static detail(params) {
    return Request.getAndLoadData('/wmMdLayer/detail', params);
  }

    /**
   * 煤场基础层高代码所有
   *
   * @author 张朋飞
   * @date 2024/09/13 21:44
   */
    static findList(params) {
      return Request.getAndLoadData('/wmMdLayer/list', params);
    }
}